import { Http as http } from '#/api/http';

/**
 * 响应码信息
 */
export interface ResponseCodeVO {
  /**
   * 响应码
   */
  code: number;

  /**
   * 响应消息
   */
  message: string;
}

/**
 * 获取系统响应码列表
 */
export async function getResponseCodesApi() {
  return http.get<ResponseCodeVO[]>('/common/response-codes');
}
